package lab03.test05;

import javax.swing.plaf.metal.MetalIconFactory;
import java.io.File;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.util.Scanner;

public class Test {

        public static void main(String[] args) {
            Scanner scan  =new Scanner(System.in);
            String s;
            char []a = new char [10];
            char []b = new char [10];
            File file = new File("b.txt");
            try {
                FileWriter out = null;
                try {
                    out = new FileWriter(file);
                } catch (IOException e) {
                    e.printStackTrace();
                }
                s = scan.next();
                a = s.toCharArray();
                for(int i=0;i<a.length;i++){
                    a[i] = (char) ((a[i]-'b'+1)%26+'b');
                }
                out.write(a);
                out.close();
                FileReader in = new FileReader(file);
                in.read(b);
                System.out.println(b);
                in.close();
            } catch (IOException e) {
                // TODO Auto-generated catch block
                e.printStackTrace();
            }
        }
    }

